﻿<!--
Copyright (c) Microsoft Corporation. All rights reserved
-->

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title></title>
    <script src="/js/scenario5_getsingledevice.js"></script>
    <script src="/js/displayhelpers.js"></script>
</head>

<body class="win-type-body">
    <div id="resultsViewTemplate" data-win-control="WinJS.Binding.Template">
        <div style="padding:2px; border:1px solid gray; white-space:nowrap">
            <div>Name: <span data-win-bind="innerText: name" style="font-weight:bold"></span></div>
            <div>Id: <span data-win-bind="innerText: id"></span></div>
        </div>
    </div>

    <div id="scenarioView">
        <div>
            <h2 id="sampleHeader" class="win-type-subheader">Description:</h2>
            <div id="scenarioDescription">
                <p>This scenario demonstrates the use of the Windows.Devices.Enumeration DeviceInformation.CreateFromIdAsync. This would typically be used when you have a device id saved, and want to retrieve information about that device again.</p>
            </div>
        </div>
        <div id="scenarioContent">
            <p>
                Remembered device interface id:
                <br>
                <input type="text" id="interfaceIdTextBox" style="width:100%" disabled class="win-textbox">
            </p>
            <p>
                Remembered device information kind:
                <br>
                <input type="text" id="informationKindTextBox" style="width:100%" disabled class="win-textbox">
            </p>
            <button id="getButton" disabled class="win-button">Get</button>
        </div>
        <div id="resultsListView" style="border:2px solid white;" data-win-control="WinJS.UI.ListView" data-win-options="{
                itemTemplate: select(&apos;#resultsViewTemplate&apos;),
                layout: {type: WinJS.UI.ListLayout}}">
        </div>
    </div>
</body>

</html>